import { Card, Row, Col, Statistic } from "antd";
import { UserOutlined, FileOutlined, CommentOutlined } from "@ant-design/icons";

export default function Dashboard() {
  return (
    <div>
      <h2 className="text-2xl font-bold mb-6">仪表盘</h2>
      <Row gutter={16}>
        <Col span={8}>
          <Card>
            <Statistic
              title="用户总数"
              value={112893}
              prefix={<UserOutlined />}
            />
          </Card>
        </Col>
        <Col span={8}>
          <Card>
            <Statistic
              title="文章总数"
              value={93}
              prefix={<FileOutlined />}
            />
          </Card>
        </Col>
        <Col span={8}>
          <Card>
            <Statistic
              title="评论总数"
              value={1128}
              prefix={<CommentOutlined />}
            />
          </Card>
        </Col>
      </Row>
    </div>
  );
} 